/*
 * Copyright (c) 2024-2024 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef CRYPTO_X509_CERT_CHAIN_DATA_PEM_ADDED_H
#define CRYPTO_X509_CERT_CHAIN_DATA_PEM_ADDED_H

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

static const char g_testCertChainPem[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIID6jCCAtKgAwIBAgIIIM2q/TmRoLcwDQYJKoZIhvcNAQELBQAwWjELMAkGA1UE\r\n"
    "BhMCRU4xEDAOBgNVBAgTB0VuZ2xhbmQxDzANBgNVBAcTBkxvbmRvbjEMMAoGA1UE\r\n"
    "ChMDdHMyMQwwCgYDVQQLEwN0czIxDDAKBgNVBAMTA3RzMjAeFw0yMzEyMDUwNzM5\r\n"
    "MDBaFw0yNDEwMzEyMzU5MDBaMGExCzAJBgNVBAYTAkNOMRAwDgYDVQQIEwdKaWFu\r\n"
    "Z3N1MRAwDgYDVQQHEwdOYW5qaW5nMQwwCgYDVQQKEwN0czMxDDAKBgNVBAsTA3Rz\r\n"
    "MzESMBAGA1UEAxMJMTI3LjAuMC4xMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\r\n"
    "CgKCAQEAtt+2QxUevbolYLp51QGcUpageI4fwGLIqv4fj4aoVnHFOOBqVOVpfCLR\r\n"
    "p26LFV/F8ebwPyo8YEBKSwXzMD1573rMSbaH9BalscH5lZYAbetXoio6YRvzlcmc\r\n"
    "rVvLBNMeVnxY86xHpo0MTNyP7W024rZsxWO98xFQVdoiaBC+7+midlisx2Y+7u0j\r\n"
    "zT9GjeUP6JLdLFUZJKUPSTK3jVzw9v1eZQZKYoNfU6vFMd6ndtwW6qEnwpzmmX/U\r\n"
    "T+p5ThAMH593zszlz330nTSXBjIsGkyvOz9gSB0Z0LAuJj06XUNhGL5xKJYKbdI3\r\n"
    "8MFQFJKvRHfgTAvVsvAvpBUM2DuBKwIDAQABo4GsMIGpMAkGA1UdEwQCMAAwHQYD\r\n"
    "VR0OBBYEFDfsHTMZwoA6eaDFlBUyDpka+sYtMAsGA1UdDwQEAwID+DAnBgNVHSUE\r\n"
    "IDAeBggrBgEFBQcDAQYIKwYBBQUHAwIGCCsGAQUFBwMEMBQGA1UdEQQNMAuCCTEy\r\n"
    "Ny4wLjAuMTARBglghkgBhvhCAQEEBAMCBkAwHgYJYIZIAYb4QgENBBEWD3hjYSBj\r\n"
    "ZXJ0aWZpY2F0ZTANBgkqhkiG9w0BAQsFAAOCAQEAp5vTvXrt8ZpgRJVtzv9ss0lJ\r\n"
    "izp1fJf+ft5cDXrs7TSD5oHrSW2vk/ZieIMhexU4LFwhs4OE7jK6pgI48Dseqxx7\r\n"
    "B/KktxhVMJUmVXd9Ayjp6f+BtZlIk0cArPuoXToXjsV8caTGBXHRdzxpAk/w9syc\r\n"
    "GYrbH9TrdNMuTizOb+k268oKXUageZNxHmd7YvOXkcNgrd29jzwXKDYYiUa1DISz\r\n"
    "DnYaJOgPt0B/5izhoWNK7GhJDy9KEuLURcTSWFysbbnljwO9INPT9MmlS83PdAgN\r\n"
    "iS8VXF4pce1W9U5jH7d7k0JDVSXybebe1iPFphsZpYM/NE+jap+mPy1nTCbf9g==\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIC0zCCAoWgAwIBAgIIXpLoPpQVWnkwBQYDK2VwMFoxCzAJBgNVBAYTAkVOMRAw\r\n"
    "DgYDVQQIEwdFbmdsYW5kMQ8wDQYDVQQHEwZMb25kb24xDDAKBgNVBAoTA3RzMTEM\r\n"
    "MAoGA1UECxMDdHMxMQwwCgYDVQQDEwN0czEwHhcNMjMxMjA1MDczNzAwWhcNMjQw\r\n"
    "OTAxMjM1OTAwWjBaMQswCQYDVQQGEwJFTjEQMA4GA1UECBMHRW5nbGFuZDEPMA0G\r\n"
    "A1UEBxMGTG9uZG9uMQwwCgYDVQQKEwN0czIxDDAKBgNVBAsTA3RzMjEMMAoGA1UE\r\n"
    "AxMDdHMyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtt+2QxUevbol\r\n"
    "YLp51QGcUpageI4fwGLIqv4fj4aoVnHFOOBqVOVpfCLRp26LFV/F8ebwPyo8YEBK\r\n"
    "SwXzMD1573rMSbaH9BalscH5lZYAbetXoio6YRvzlcmcrVvLBNMeVnxY86xHpo0M\r\n"
    "TNyP7W024rZsxWO98xFQVdoiaBC+7+midlisx2Y+7u0jzT9GjeUP6JLdLFUZJKUP\r\n"
    "STK3jVzw9v1eZQZKYoNfU6vFMd6ndtwW6qEnwpzmmX/UT+p5ThAMH593zszlz330\r\n"
    "nTSXBjIsGkyvOz9gSB0Z0LAuJj06XUNhGL5xKJYKbdI38MFQFJKvRHfgTAvVsvAv\r\n"
    "pBUM2DuBKwIDAQABo28wbTAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBQ37B0zGcKA\r\n"
    "OnmgxZQVMg6ZGvrGLTALBgNVHQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgAHMB4G\r\n"
    "CWCGSAGG+EIBDQQRFg94Y2EgY2VydGlmaWNhdGUwBQYDK2VwA0EAuasLBe55YgvF\r\n"
    "b4wmHeohylc9r8cFGS1LNQ5UcSn3sGqMYf6ehnef16NLuCW6upHCs8Sui4iAMvsP\r\n"
    "uKPWR9dKBA==\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIB3zCCAZGgAwIBAgIIWQvOEDl+ya4wBQYDK2VwMFoxCzAJBgNVBAYTAkVOMRAw\r\n"
    "DgYDVQQIEwdFbmdsYW5kMQ8wDQYDVQQHEwZMb25kb24xDDAKBgNVBAoTA3RzMTEM\r\n"
    "MAoGA1UECxMDdHMxMQwwCgYDVQQDEwN0czEwHhcNMjMxMjA1MDAwMDAwWhcNMjQx\r\n"
    "MjA0MjM1OTU5WjBaMQswCQYDVQQGEwJFTjEQMA4GA1UECBMHRW5nbGFuZDEPMA0G\r\n"
    "A1UEBxMGTG9uZG9uMQwwCgYDVQQKEwN0czExDDAKBgNVBAsTA3RzMTEMMAoGA1UE\r\n"
    "AxMDdHMxMCowBQYDK2VwAyEAuxadj1ww0LqPN24zr28jcSOlSWAe0QdLyRF+ZgG6\r\n"
    "klKjdTBzMBIGA1UdEwEB/wQIMAYBAf8CARQwHQYDVR0OBBYEFNSgpoQvfxR8A1Y4\r\n"
    "St8NjOHkRpm4MAsGA1UdDwQEAwIBBjARBglghkgBhvhCAQEEBAMCAAcwHgYJYIZI\r\n"
    "AYb4QgENBBEWD3hjYSBjZXJ0aWZpY2F0ZTAFBgMrZXADQQAblBgoa72X/K13WOvc\r\n"
    "KW0fqBgFKvLy85hWD6Ufi61k4ProQiZzMK+0+y9jReKelPx/zRdCCgSbQroAR2mV\r\n"
    "xjoE\r\n"
    "-----END CERTIFICATE-----\r\n";

static const char g_testCertChainPemNoRoot[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIID6jCCAtKgAwIBAgIIIM2q/TmRoLcwDQYJKoZIhvcNAQELBQAwWjELMAkGA1UE\r\n"
    "BhMCRU4xEDAOBgNVBAgTB0VuZ2xhbmQxDzANBgNVBAcTBkxvbmRvbjEMMAoGA1UE\r\n"
    "ChMDdHMyMQwwCgYDVQQLEwN0czIxDDAKBgNVBAMTA3RzMjAeFw0yMzEyMDUwNzM5\r\n"
    "MDBaFw0yNDEwMzEyMzU5MDBaMGExCzAJBgNVBAYTAkNOMRAwDgYDVQQIEwdKaWFu\r\n"
    "Z3N1MRAwDgYDVQQHEwdOYW5qaW5nMQwwCgY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GhJDy9KEuLURcTSWFysbbnljwO9INPT9MmlS83PdAgN\r\n"
    "iS8VXF4pce1W9U5jH7d7k0JDVSXybebe1iPFphsZpYM/NE+jap+mPy1nTCbf9g==\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIC0zCCAoWgAwIBAgIIXpLoPpQVWnkwBQYDK2VwMFoxCzAJBgNVBAYTAkVOMRAw\r\n"
    "DgYDVQQIEwdFbmdsYW5kMQ8wDQYDVQQHEwZMb25kb24xDDAKBgNVBAoTA3RzMTEM\r\n"
    "MAoGA1UECxMDdHMxMQwwCgYDVQQDEwN0czEwHhcNMjMxMjA1MDczNzAwWhcNMjQw\r\n"
    "OTAxMjM1OTAwWjBaMQswCQYDVQQGEwJFTjEQMA4GA1UECBMHRW5nbGFuZDEPMA0G\r\n"
    "A1UEBxMGTG9uZG9uMQwwCgYDVQQKEwN0czIxDDAKBgNVBAsTA3RzMjEMMAoGA1UE\r\n"
    "AxMDdHMyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtt+2QxUevbol\r\n"
    "YLp51QGcUpageI4fwGLIqv4fj4aoVnHFOOBqVOVpfCLRp26LFV/F8ebwPyo8YEBK\r\n"
    "SwXzMD1573rMSbaH9BalscH5lZYAbetXoio6YRvzlcmcrVvLBNMeVnxY86xHpo0M\r\n"
    "TNyP7W024rZsxWO98xFQVdoiaBC+7+midlisx2Y+7u0jzT9GjeUP6JLdLFUZJKUP\r\n"
    "STK3jVzw9v1eZQZKYoNfU6vFMd6ndtwW6qEnwpzmmX/UT+p5ThAMH593zszlz330\r\n"
    "nTSXBjIsGkyvOz9gSB0Z0LAuJj06XUNhGL5xKJYKbdI38MFQFJKvRHfgTAvVsvAv\r\n"
    "pBUM2DuBKwIDAQABo28wbTAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBQ37B0zGcKA\r\n"
    "OnmgxZQVMg6ZGvrGLTALBgNVHQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgAHMB4G\r\n"
    "CWCGSAGG+EIBDQQRFg94Y2EgY2VydGlmaWNhdGUwBQYDK2VwA0EAuasLBe55YgvF\r\n"
    "b4wmHeohylc9r8cFGS1LNQ5UcSn3sGqMYf6ehnef16NLuCW6upHCs8Sui4iAMvsP\r\n"
    "uKPWR9dKBA==\r\n"
    "-----END CERTIFICATE-----\r\n";

static const char g_testCertChainPemNoRootHasPubKey[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIXIDCCFsegAwIBAgICA+gwCgYIKoZIzj0EAwIwLDELMAkGA1UEBhMCQ04xDTAL\r\n"
    "BgNVBAoMBHRlc3QxDjAMBgNVBAMMBWxvY2FsMB4XDTIzMTIxNTEwNTU0MVoXDTMz\r\n"
    "MTIxMjEwNTU0MVowLjELMAkGA1UEBhMCQ04xDTALBgNVBAoMBHRlc3QxEDAOBgNV\r\n"
    "BAMMB2xvY2FsXzIwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAATSXE5SAbIpUddu\r\n"
    "nixHnyFTJpHpqarzYR81bz4JTBxodekxo1bzuNb1ekElYJkaPDb0a1AyQqulkb+A\r\n"
    "YuIttWHOo4IV1TCCFdEwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYdT3BlblNT\r\n"
    "TCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFNFGonTKSe69Hi3B6Ddv\r\n"
    "o2cI3He5MB8GA1UdIwQYMBaAFNC03hjx8p1gnLmwyfJCFyVz8RZSMIIVVAYDVR0f\r\n"
    "BIIVSzCCFUcwM6AxoC+GLWh0dHA6Ly90ZXN0MS50ZXN0MUNSTGRwLmNvbS90ZXN0\r\n"
    "X2NybF9jcF8xLmNybDAzoDGgL4YtaHR0cDovL3Rlc3QxLnRlc3QxQ1JMZHAuY29t\r\n"
    "L3Rlc3RfY3JsX2NwXzIuY3JsMDOgMaAvhi1odHRwOi8vdGVzdDEudGVzdDFDUkxk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KKSBOLwhjTAPBgNVHRMBAf8EBTADAQH/MAoGCCqG\r\n"
    "SM49BAMCA0kAMEYCIQDdYQcRnhmyd3vxZb3quVALHBDfZWW4Aln8vmjmX2qtTgIh\r\n"
    "AO4RBmyeMjK9Jjfqd/IRYbW0u1za7yw8j4wBGss39g0t\r\n"
    "-----END CERTIFICATE-----\r\n";

static const char g_testCertChainPemNoRootLast[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIBnTCCAUKgAwIBAgICA+gwCgYIKoZIzj0EAwIwLTELMAkGA1UEBhMCQ04xDTAL\r\n"
    "BgNVBAoMBHRlc3QxDzANBgNVBAMMBnJvb3RjYTAeFw0yMzEyMTUxMDU1NDFaFw0z\r\n"
    "MzEyMTIxMDU1NDFaMCwxCzAJBgNVBAYTAkNOMQ0wCwYDVQQKDAR0ZXN0MQ4wDAYD\r\n"
    "VQQDDAVzdWJjYTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABMDnZgp0b9vfbJTh\r\n"
    "rnrPs9mlJJVRERPqkhNRayiMUQuP+O2HrH+gW7g0Sr8/hksn+Anlb/bGZo1Fom4X\r\n"
    "vVKvgwCjUzBRMB0GA1UdDgQWBBQv/igjsx6ygdlyKRpi7l6xffLdHjAfBgNVHSME\r\n"
    "GDAWgBQxKvCxGrfqKfmDiOE/KKSBOLwhjTAPBgNVHRMBAf8EBTADAQH/MAoGCCqG\r\n"
    "SM49BAMCA0kAMEYCIQDdYQcRnhmyd3vxZb3quVALHBDfZWW4Aln8vmjmX2qtTgIh\r\n"
    "AO4RBmyeMjK9Jjfqd/IRYbW0u1za7yw8j4wBGss39g0t\r\n"
    "-----END CERTIFICATE-----\r\n";

static const char g_testCertChainPemDisorder[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIID6jCCAtKgAwIBAgIIIM2q/TmRoLcwDQYJKoZIhvcNAQELBQAwWjELMAkGA1UE\r\n"
    "BhMCRU4xEDAOBgNVBAgTB0VuZ2xhbmQxDzANBgNVBA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s7TSD5oHrSW2vk/ZieIMhexU4LFwhs4OE7jK6pgI48Dseqxx7\r\n"
    "B/KktxhVMJUmVXd9Ayjp6f+BtZlIk0cArPuoXToXjsV8caTGBXHRdzxpAk/w9syc\r\n"
    "GYrbH9TrdNMuTizOb+k268oKXUageZNxHmd7YvOXkcNgrd29jzwXKDYYiUa1DISz\r\n"
    "DnYaJOgPt0B/5izhoWNK7GhJDy9KEuLURcTSWFysbbnljwO9INPT9MmlS83PdAgN\r\n"
    "iS8VXF4pce1W9U5jH7d7k0JDVSXybebe1iPFphsZpYM/NE+jap+mPy1nTCbf9g==\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIB3zCCAZGgAwIBAgIIWQvOEDl+ya4wBQYDK2VwMFoxCzAJBgNVBAYTAkVOMRAw\r\n"
    "DgYDVQQIEwdFbmdsYW5kMQ8wDQYDVQQHEwZMb25kb24xDDAKBgNVBAoTA3RzMTEM\r\n"
    "MAoGA1UECxMDdHMxMQwwCgYDVQQDEwN0czEwHhcNMjMxMjA1MDAwMDAwWhcNMjQx\r\n"
    "MjA0MjM1OTU5WjBaMQswCQYDVQQGEwJFTjEQMA4GA1UECBMHRW5nbGFuZDEPMA0G\r\n"
    "A1UEBxMGTG9uZG9uMQwwCgYDVQQKEwN0czExDDAKBgNVBAsTA3RzMTEMMAoGA1UE\r\n"
    "AxMDdHMxMCowBQYDK2VwAyEAuxadj1ww0LqPN24zr28jcSOlSWAe0QdLyRF+ZgG6\r\n"
    "klKjdTBzMBIGA1UdEwEB/wQIMAYBAf8CARQwHQYDVR0OBBYEFNSgpoQvfxR8A1Y4\r\n"
    "St8NjOHkRpm4MAsGA1UdDwQEAwIBBjARBglghkgBhvhCAQEEBAMCAAcwHgYJYIZI\r\n"
    "AYb4QgENBBEWD3hjYSBjZXJ0aWZpY2F0ZTAFBgMrZXADQQAblBgoa72X/K13WOvc\r\n"
    "KW0fqBgFKvLy85hWD6Ufi61k4ProQiZzMK+0+y9jReKelPx/zRdCCgSbQroAR2mV\r\n"
    "xjoE\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIC0zCCAoWgAwIBAgIIXpLoPpQVWnkwBQYDK2VwMFoxCzAJBgNVBAYTAkVOMRAw\r\n"
    "DgYDVQQIEwdFbmdsYW5kMQ8wDQYDVQQHEwZMb25kb24xDDAKBgNVBAoTA3RzMTEM\r\n"
    "MAoGA1UECxMDdHMxMQwwCgYDVQQDEwN0czEwHhcNMjMxMjA1MDczNzAwWhcNMjQw\r\n"
    "OTAxMjM1OTAwWjBaMQswCQYDVQQGEwJFTjEQMA4GA1UECBMHRW5nbGFuZDEPMA0G\r\n"
    "A1UEBxMGTG9uZG9uMQwwCgYDVQQKEwN0czIxDDAKBgNVBAsTA3RzMjEMMAoGA1UE\r\n"
    "AxMDdHMyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtt+2QxUevbol\r\n"
    "YLp51QGcUpageI4fwGLIqv4fj4aoVnHFOOBqVOVpfCLRp26LFV/F8ebwPyo8YEBK\r\n"
    "SwXzMD1573rMSbaH9BalscH5lZYAbetXoio6YRvzlcmcrVvLBNMeVnxY86xHpo0M\r\n"
    "TNyP7W024rZsxWO98xFQVdoiaBC+7+midlisx2Y+7u0jzT9GjeUP6JLdLFUZJKUP\r\n"
    "STK3jVzw9v1eZQZKYoNfU6vFMd6ndtwW6qEnwpzmmX/UT+p5ThAMH593zszlz330\r\n"
    "nTSXBjIsGkyvOz9gSB0Z0LAuJj06XUNhGL5xKJYKbdI38MFQFJKvRHfgTAvVsvAv\r\n"
    "pBUM2DuBKwIDAQABo28wbTAMBgNVHRMEBTADAQH/MB0GA1UdDgQWBBQ37B0zGcKA\r\n"
    "OnmgxZQVMg6ZGvrGLTALBgNVHQ8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgAHMB4G\r\n"
    "CWCGSAGG+EIBDQQRFg94Y2EgY2VydGlmaWNhdGUwBQYDK2VwA0EAuasLBe55YgvF\r\n"
    "b4wmHeohylc9r8cFGS1LNQ5UcSn3sGqMYf6ehnef16NLuCW6upHCs8Sui4iAMvsP\r\n"
    "uKPWR9dKBA==\r\n"
    "-----END CERTIFICATE-----\r\n";

static const char g_testCertChainPemLocalCrlOnlyCheckEndEntityCert[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIENTCCAx2gAwIBAgIUezOP+oC1PJJJQGrGo9BDxsVMbrQwDQYJKoZIhvcNAQEL\r\n"
    "BQAwgYcxCzAJBgNVBAYTAkNOMRAwDgYDVQQIDAdCZWlqaW5nMRAwDgYDVQQHDAdC\r\n"
    "ZWlqaW5nMR0wGwYDVQQKDBRUZXN0IEludGVybWVkaWF0ZSBDQTEWMBQGA1UECwwN\r\n"
    "SVQgRGVwYXJ0bWVudDEdMBsGA1UEAwwUVGVzdCBJbnRlcm1lZGlhdGUgQ0EwHhcN\r\n"
    "MjUwOTIyMDYzOTIzWhcNMjYwOTIyMDYzOTIzWjB+MQswCQYDVQQGEwJDTjEQMA4G\r\n"
    "A1UECAwHQmVpamluZzEQMA4GA1UEBwwHQmVpamluZzEVMBMGA1UECgwMVGVzdCBD\r\n"
    "b21wYW55MRYwFAYDVQQLDA1JVCBEZXBhcnRtZW50MRwwGgYDVQQDDBNyZXZva2Vk\r\n"
    "LmV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxMf6\r\n"
    "p6PEte49xQ9JZcUgKaiHxBihdMI+eKRmVRpl2zL5gvsqFb+8xINpx1Xb4z4S52WH\r\n"
    "cHrWXenRfIZbtCsQgzW9+TR7N/8Sh75Dpy23AdnY5Q4iC/9HTJQ04/suQHOnJTM4\r\n"
    "zZdD1mAYyTFW8YyM6evnW/KLQklOrTOTEF44pBpATU4+Tod/jAJya6g7a2ZP98Jb\r\n"
    "dXO2ogEtgPiyxcIhZSQWHXcAwORhv8twtgg8HbX47MRTcB+sers68mP5E2gmnFdM\r\n"
    "6blbUXLObtmSqgJA5gvtoy9Z+b+hGZbNvTDiMIPOM8rjRcHRtM1Dm3dNIQNw0sLb\r\n"
    "tMvxOJA3uujWGFN3YwIDAQABo4GgMIGdMAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/\r\n"
    "BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQU\r\n"
    "mOaOX/5G5neLlBvv4hu85RSI6ywwHwYDVR0jBBgwFoAUOnzB8+Rj5FmAZbeMno8n\r\n"
    "a4cISEAwHgYDVR0RBBcwFYITcmV2b2tlZC5leGFtcGxlLmNvbTANBgkqhkiG9w0B\r\n"
    "AQsFAAOCAQEATIa56uoSoB9WS4opTd/yBGaVukjRDUtnjmlDTzSyaNa0kpJcQ1lc\r\n"
    "KlbPlZTBFc3ske5Uzh+dFxXw9NxvfIvDYqDPfJWkVkxS3H+S7+VsPVY5BDjZkFrg\r\n"
    "ZMBaKAhcNo1ZDZmIXHTE9Bk7wif2vhfJmoQoYnrxwifk3cRQ262Bqe3DFyNCI6U6\r\n"
    "LqskyysjMdefkmCErhivqRohJ+wRKXOmtYTIUM2pXLFTVgldsAAO3X0+zMMa2ZgS\r\n"
    "ncl+e4dcQrKySrudn0/ttBkCC76ufB1MRP4f5Yq24bkO6utxCMAkm3t9rKJ5hgq3\r\n"
    "siML6uiAlk6FMRHUnZw9ABLD2Cq10zHe1g==\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIID7jCCAtagAwIBAgIUagJiBTY61admECAkx88j7p+l5lswDQYJKoZIhvcNAQEL\r\n"
    "BQAwcjELMAkGA1UEBhMCQ04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0Jl\r\n"
    "aWppbmcxEDAOBgNVBAoMB1Rlc3QgQ0ExFjAUBgNVBAsMDUlUIERlcGFydG1lbnQx\r\n"
    "FTATBg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kjqBE0b\r\n"
    "fYS98L7veeRLwwVZCnGTEU5eoZTuRILh1/Z2yhz3L0NwLX93y4X917gG1Sbo1u2r\r\n"
    "fFLvq6yFy9lPcCa3gWRn4rNp7hYO13Bb/eEZAgMBAAGjYzBhMA8GA1UdEwEB/wQF\r\n"
    "MAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTmKKcN7m8VwXk3hQPUeZ+S\r\n"
    "XB4rzTAfBgNVHSMEGDAWgBTmKKcN7m8VwXk3hQPUeZ+SXB4rzTANBgkqhkiG9w0B\r\n"
    "AQsFAAOCAQEAf1Yt9UCccBcI6R4L4ndelQReXxnQ/attJYWZbGXZDAiJGVZkogZQ\r\n"
    "3cJquPurmfm+N1XNAz4zNeCFjwBIp+uaAvn9wCkgVX5Fc0FIYntLe6/ywxVDbtBl\r\n"
    "f7ySbKV1WIv1gZzG9qAzAZ3kV4hx66Ixpm3PvEmP0iBn0w4JdNBaCY2hwreKTws1\r\n"
    "35HOB+Q0ijJFkKpWJxLOPQaHKqjBOxmc3hQDcvnL6m2w9KmcM0WgXEdDrYoiAybl\r\n"
    "kzcULwNn14sIijKwd4aC4SWVw1INADly22d2i3G3ZjJspEHAkPf3MlkoeM9ALsaE\r\n"
    "H2vABk9sEEv5jp1hJcYOGmlM/X2gYXaS+g==\r\n"
    "-----END CERTIFICATE-----\r\n";

static const char g_testCertChainPemLocalCrl[] =
    "-----BEGIN X509 CRL-----\r\n"
    "MIICCzCB9AIBATANBgkqhkiG9w0BAQsFADCBhzELMAkGA1UEBhMCQ04xEDAOBgNV\r\n"
    "BAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxHTAbBgNVBAoMFFRlc3QgSW50\r\n"
    "ZXJtZWRpYXRlIENBMRYwFAYDVQQLDA1JVCBEZXBhcnRtZW50MR0wGwYDVQQDDBRU\r\n"
    "ZXN0IEludGVybWVkaWF0ZSBDQRcNMjUwOTIyMDYzOTIzWhcNMjUxMDIyMDYzOTIz\r\n"
    "WjAnMCUCFHszj/qAtTySSUBqxqPQQ8bFTG60Fw0yNTA5MjIwNjM5MjNaoA8wDTAL\r\n"
    "BgNVHRQEBAICEAEwDQYJKoZIhvcNAQELBQADggEBAJ8Ww+2y9UnJiPRaEBfg8bK6\r\n"
    "/vj5txed7/Vu/lFhStfaL9fvoRTqhiWulbSFMFPPW84ZLSfFYsmmWU5d94wWM7Mj\r\n"
    "Diu5g0mXHQKJz+kcSZyueB8q0iep2IjPvhZTO8KlNRnhmITYvXRubqMGRKLwKY59\r\n"
    "+BJrhp8uCaAuoYTRN5vig7w2p5qtVlN7nL4MkkgiTOxdd1Dfys4mC5+h0Iams1x+\r\n"
    "vUxhmKAeFeZ97bMn22RsCmksy7whcnI+ud7qpWRxLmKBUHWrTm5uUlqQNqQNnFHd\r\n"
    "AfaSj2+/eXg0U/FODija7HA+JaNF6DiE1BbUPe7WKe3445MCAdb+jDlJIY3uHKg=\r\n"
    "-----END X509 CRL-----\r\n";

static const char g_testCertChainPemInitialLocalCrl[] =
    "-----BEGIN X509 CRL-----\r\n"
    "MIIB4jCBywIBATANBgkqhkiG9w0BAQsFADCBhzELMAkGA1UEBhMCQ04xEDAOBgNV\r\n"
    "BAgMB0JlaWppbmcxEDAOBgNVBAcMB0JlaWppbmcxHTAbBgNVBAoMFFRlc3QgSW50\r\n"
    "ZXJtZWRpYXRlIENBMRYwFAYDVQQLDA1JVCBEZXBhcnRtZW50MR0wGwYDVQQDDBRU\r\n"
    "ZXN0IEludGVybWVkaWF0ZSBDQRcNMjUwOTIyMDYzOTIzWhcNMjUxMDIyMDYzOTIz\r\n"
    "WqAPMA0wCwYDVR0UBAQCAhAAMA0GCSqGSIb3DQEBCwUAA4IBAQBr1SaaRVZRrGLU\r\n"
    "65uWBafmmRgolu+XGMlDv+3ppFUBcFNIFrL90Nobhh5gsuCNCu7gVs18mBfhRYrl\r\n"
    "9886wzWusfQdu0LD1NBGfcKTa4ktBxVAVKpFEsgn8+1qTPz8lA3fWUnZjCJd0Ypw\r\n"
    "tABlC8ISSid7wEDIi07WRMsMlWBMhJlSUTyF9ve9GYQHjdX6CBOfMLgwZbz2iP64\r\n"
    "7Sv7qLGD/49MzrgqFQ8pzuUOL1UoYockEhZMqZh3XAePQI5h51OBnud1bf22s9YV\r\n"
    "//69wV6R4g50kbxPvkYaYkH5n/kGhACt4UBT0WNsjWbX4lspo2hfh/oVvHI9sWut\r\n"
    "D9l43siD\r\n"
    "-----END X509 CRL-----\r\n";

static const char g_testCertChainPemLocalCrlCaCert[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIID1TCCAr2gAwIBAgIUCcXQP2bqxD38bygtnzy4OyO4H1gwDQYJKoZIhvcNAQEL\r\n"
    "BQAwcjELMAkGA1UEBhMCQ04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0Jl\r\n"
    "aWppbmcxEDAOBgNVBAoMB1Rlc3QgQ0ExFjAUBgNVBAsMDUlUIERlcGFydG1lbnQx\r\n"
    "FTATBgNVBAMMDFRlc3QgUm9vdCBDQTAeFw0yNTA5MjIwNjM5MjNaFw0zNTA5MjAw\r\n"
    "NjM5MjNaMHIxCzAJBgNVBAYTAkNOMRAwDgYDVQQIDAdCZWlqaW5nMRAwDgYDVQQH\r\n"
    "DAdCZWlqaW5nMRAwDgYDVQQKDAdUZXN0IENBMRYwFAYDVQQLDA1JVCBEZXBhcnRt\r\n"
    "ZW50MRUwEwYDVQQDDAxUZXN0IFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IB\r\n"
    "DwAwggEKAoIBAQDgahrDOgDYSpmGO2vGp5ECmlzqJCksBOsANRTKZl8zEstDTuyK\r\n"
    "vhBs5qDdrSUEJthIAYy+alv/2Dgf4GwSYEiWPwnBgpwTEt5vezw79o6uLL7BCJ+s\r\n"
    "lg07SzN4XN31rrQHz+aD304JZPuLfx3uf8n6tU667FdX8cAIg5iMX2qJDqem62Ew\r\n"
    "BpjJ4bWIULBZU8OYSN6wYIAYofJQVIWRFA50gfFQlKvrbPhYpt1wpXzrlkjqBE0b\r\n"
    "fYS98L7veeRLwwVZCnGTEU5eoZTuRILh1/Z2yhz3L0NwLX93y4X917gG1Sbo1u2r\r\n"
    "fFLvq6yFy9lPcCa3gWRn4rNp7hYO13Bb/eEZAgMBAAGjYzBhMA8GA1UdEwEB/wQF\r\n"
    "MAMBAf8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBTmKKcN7m8VwXk3hQPUeZ+S\r\n"
    "XB4rzTAfBgNVHSMEGDAWgBTmKKcN7m8VwXk3hQPUeZ+SXB4rzTANBgkqhkiG9w0B\r\n"
    "AQsFAAOCAQEAf1Yt9UCccBcI6R4L4ndelQReXxnQ/attJYWZbGXZDAiJGVZkogZQ\r\n"
    "3cJquPurmfm+N1XNAz4zNeCFjwBIp+uaAvn9wCkgVX5Fc0FIYntLe6/ywxVDbtBl\r\n"
    "f7ySbKV1WIv1gZzG9qAzAZ3kV4hx66Ixpm3PvEmP0iBn0w4JdNBaCY2hwreKTws1\r\n"
    "35HOB+Q0ijJFkKpWJxLOPQaHKqjBOxmc3hQDcvnL6m2w9KmcM0WgXEdDrYoiAybl\r\n"
    "kzcULwNn14sIijKwd4aC4SWVw1INADly22d2i3G3ZjJspEHAkPf3MlkoeM9ALsaE\r\n"
    "H2vABk9sEEv5jp1hJcYOGmlM/X2gYXaS+g==\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testLeafNoCaIssuer[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDvTCCAqWgAwIBAgIUMrrJsH1+m3ufJxTUZeL0o4Cy/OIwDQYJKoZIhvcNAQEL\r\n"
    "BQAwYzELMAkGA1UEBhMCQ04xEDAOBgNVBAgMB0JlaWppbmcxEDAOBgNVBAcMB0Jl\r\n"
    "aWppbmcxFzAVBgNVBAoMDkludGVybWVkaWF0ZUNBMRcwFQYDVQQDDA5JbnRlcm1l\r\n"
    "ZGlhdGVDQTAeFw0yNTEy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pfU2bCIVN4S7Y4pXWeJTii2YCZhjes20qkrS40HcaSeIzuIsTX7LtqESoDaQ+zp\r\n"
    "zDc3j7JCky/BIx90KyOjTU2NDZ/cTamoSEKoBoYU4tmSIngkn/E96vSBcBSde29Z\r\n"
    "bA==\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testLeafCertValid[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIGIzCCBQugAwIBAgIQD8vHwz7g05mDl1F5X17HGzANBgkqhkiG9w0BAQsFADBg\r\n"
    "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\n"
    "d3cuZGlnaWNlcnQuY29tMR8wHQYDVQQDExZSYXBpZFNTTCBUTFMgUlNBIENBIEcx\r\n"
    "MB4XDTI1MDMyNDAwMDAwMFoXDTI2MDMyMzIzNTk1OVowFzEVMBMGA1UEAwwMKi5k\r\n"
    "b3ViYW8uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw6eEA/GD\r\n"
    "ShJ0Rtlet3Lf+uYiYzzFJ6J1iJeT/JyvTwDOTKO2VgMjsFHgUcFJBG6QGZT6PXSv\r\n"
    "vhkdzzIqqXzJwDsqqowwTwMk0YN/JUB0yr/9aFlmQakLZClu1W5og7uxp4ME+ep6\r\n"
    "aJhoQ9MMCCn3/pvDnLoX1hG9z0pgbUsnIrM+1roLpH+D0FwC4jww7+tDr89/kjb4\r\n"
    "/+LMqjAbe1fLtXJRuxH5O+kAQNqLL/0ECvq+4KpC/r/0UxTlRTpGZY2M3MPUEXfp\r\n"
    "RKMmkRoRSKwDMJ5u2DK0qanvV6mu7ORPoDsC/fTAiqonjh8rClm/zpj5GN9BQKfu\r\n"
    "UoaeWIN/XMZSzQIDAQABo4IDIDCCAxwwHwYDVR0jBBgwFoAUDNtsgkkPSmcKuBTu\r\n"
    "esRIUojrVjgwHQYDVR0OBBYEFCseEe+vZQ8BzqzkOju1Eh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vTCHHHdvokmFbRKQvrY50ihwDoHd4pKbzRtyQ0\r\n"
    "H16bMA0GCSqGSIb3DQEBCwUAA4IBAQAsjyQpYDf1JiYBsO4koUcFPeAdvTp9FbRL\r\n"
    "yC0PN34rekPHwcjqsEU7mbuUaZ4EMklHqIqkniStPcKyIDCpSwBu17iezM57fwJA\r\n"
    "tb9XfzjxZH1vWEFHImcvMEwR0BLRmwXUnnRt3qOeetTV/UpIwH4HGfHldtRNqSnj\r\n"
    "xDiM1c2oRjv+4Qs5CTet70NHsaQBjkUWvioCgigE+vuCPnjwVNXJkfSHjC+DWWzf\r\n"
    "Nc+rSFEOvO8Fe4d2rvboT7vXigvTciOeQdig9ySCJQCkWxOvB1AcvZc+kw0YhrpM\r\n"
    "xUBhDd+DaUWOgmmVS3n6k3GfOqm2EU7iCp8KyfRu2DAsnlsO/YpH\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testRootCertValid[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh\r\n"
    "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\n"
    "d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\r\n"
    "MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT\r\n"
    "MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\r\n"
    "b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG\r\n"
    "9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI\r\n"
    "2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx\r\n"
    "1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ\r\n"
    "q2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz\r\n"
    "tCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ\r\n"
    "vIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP\r\n"
    "BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV\r\n"
    "5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY\r\n"
    "1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4\r\n"
    "NeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG\r\n"
    "Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91\r\n"
    "8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe\r\n"
    "pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl\r\n"
    "MrY=\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testDownloadCertValid[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIEszCCA5ugAwIBAgIQCyWUIs7ZgSoVoE6ZUooO+jANBgkqhkiG9w0BAQsFADBh\r\n"
    "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\n"
    "d3c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NvbS9EaWdpQ2VydEds\r\n"
    "b2JhbFJvb3RHMi5jcmwwYwYDVR0gBFwwWjA3BglghkgBhv1sAQEwKjAoBggrBgEF\r\n"
    "BQcCARYcaHR0cHM6Ly93d3cuZGlnaWNlcnQuY29tL0NQUzALBglghkgBhv1sAQIw\r\n"
    "CAYGZ4EMAQIBMAgGBmeBDAECAjANBgkqhkiG9w0BAQsFAAOCAQEAGUSlOb4K3Wtm\r\n"
    "SlbmE50UYBHXM0SKXPqHMzk6XQUpCheF/4qU8aOhajsyRQFDV1ih/uPIg7YHRtFi\r\n"
    "CTq4G+zb43X1T77nJgSOI9pq/TqCwtukZ7u9VLL3JAq3Wdy2moKLvvC8tVmRzkAe\r\n"
    "0xQCkRKIjbBG80MSyDX/R4uYgj6ZiNT/Zg6GI6RofgqgpDdssLc0XIRQEotxIZcK\r\n"
    "zP3pGJ9FCbMHmMLLyuBd+uCWvVcF2ogYAawufChS/PT61D9rqzPRS5I2uqa3tmIT\r\n"
    "44JhJgWhBnFMb7AGQkvNq9KNS9dd3GWc17H/dXa1enoxzWjE0hBdFjxPhUb0W3wi\r\n"
    "8o34/m8Fxw==\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testRootCert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDQjCCAiqgAwIBAgIUSMGjysEPe290BzZWkUuwGtkVioAwDQYJKoZIhvcNAQEL\r\n"
    "BQAwETEPMA0GA1UEAwwGUm9vdENBMB4XDTI1MTExNTAyMTM0NFoXDTM1MTExMzAy\r\n"
    "MTM0NFowETEPMA0GA1UEAwwGUm9vdENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A\r\n"
    "MIIBCgKCAQEAwONWnC9BUGmzfq3oEZUspDnt94GNnX5jU7+BPWfcEK4og7VaqbCG\r\n"
    "U+NiQOwAyXLyFxyon13xt8B3vq8lofOo5ceyF8EhNgFnConud+WN2/MEkzOuzFPA\r\n"
    "9LhTDU8CeRmpnr5M0vc52vFC9WBEaqBYDnKZSiwQYr1s1BkirEX36T8w7ekuPLJp\r\n"
    "kREz47mJNNIHzX01FWGaR5Kr3mLE+LTJsvU3OLAKz/YforMqFqe2wEu1u+UB13WN\r\n"
    "skS9VQUlK86mqHG+9rbT67y6LwGIfP3MeVMoMDZdnD6KKYE4BELfx/TCBNopdc0F\r\n"
    "MbXol8is9Ik3upk81ys5+jg4bHSANFQEUQIDAQABo4GRMIGOMB0GA1UdDgQWBBTb\r\n"
    "juGGcsWvoI5HQKqYnxDZQw8aXjBMBgNVHSMERTBDgBTbjuGGcsWvoI5HQKqYnxDZ\r\n"
    "Qw8aXqEVpBMwETEPMA0GA1UEAwwGUm9vdENBghRIwaPKwQ97b3QHNlaRS7Aa2RWK\r\n"
    "gDAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjANBgkqhkiG9w0BAQsF\r\n"
    "AAOCAQEAed5aTPRXGj/rEAj27PhEJmehOM7e5A8o42OVtqNlYON4vVZctPfXAG+A\r\n"
    "yu0bapczZQPI+3IrZxMN5Gls35um/7U0YPvXnWuRO/h2LOPWcruofEsYGTFllAia\r\n"
    "f/GJ5UpFLB9iYMx95jexVw8fAi9G+ag9qtEIHuZ6WMJMFL3JbYl0fWJDFzabKwFb\r\n"
    "mVVoPSSXzr2xwCjIABRH0npW319JLL18EppVB6ATqfeC7oaKIb2A1GF71yyRpPjK\r\n"
    "jMnaW36t2FCcHG4VFT+rxTQOudyHN6tx5PGr1OlO1y+KmaEcx9zsXmN7yOLhkI6l\r\n"
    "0UOlk+M90vKLpAMlEnUHBoxrWEmNbg==\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCa1Cert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDeDCCAmCgAwIBAgIUNTjcjtyXNXQtWbLicnAY3/2614swDQYJKoZIhvcNAQEL\r\n"
    "BQAwETEPMA0GA1UEAwwGUm9vdENBMB4XDTI1MTExNTAyMjIyNVoXDTM1MTExMzAy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mbQA5Qxt7D9\r\n"
    "S5D+CtFPaGIiCSRFcBATEcIZFxvWttLsGTlwxkOFFeaygBdIeD9euc36cIQOCxIN\r\n"
    "Hm3olGn8pZCwxYqchuZ4aCoZrfF8cWlBa4cfTA==\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCa2Cert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDdDCCAlygAwIBAgIUHlgGfJyRei8psjIVIpdwqBqOPAQwDQYJKoZIhvcNAQEL\r\n"
    "BQAwDjEMMAoGA1UEAwwDQ0ExMB4XDTI1MTExNTAyMjM0MloXDTM1MTExMzAyMjM0\r\n"
    "MlowDjEMMAoGA1UEAwwDQ0EyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\r\n"
    "AQEAtIPQOh83H6JurVbJv9BXm60lzcXHRB8KdQjPH6acL6s2UBOs3F4mmlER4B1r\r\n"
    "0g/KDdH45HNvCzrPNWjvv58KJg8TYUwmdZaDszHYGrtW7rom6M9vLgdgdum1VOlf\r\n"
    "6lDde5bpqWOniaDHiL2EhJ/y/Q0mzI2vm/h8CjfsC+UJHiJ2rlqRmemSm87d7WAL\r\n"
    "t3zkIzb83Q+YhJ39VLSjX7dLH2DWp3gOtYu8g2qltTvnA7b9M8V8P4MaK/eJUWQd\r\n"
    "S/HECW6fevSciD37m6nhjPSaBcCz6TGpmc9utKN/ryzRQ6mM2k+a3jvJ50BmNmtP\r\n"
    "AqxJxGrLZ8Afnz3qyPuZtCoFHQIDAQABo4HJMIHGMB0GA1UdDgQWBBSgfIpnWTYz\r\n"
    "78XWHQrACfk2GL6nqDBMBgNVHSMERTBDgBSPrxGVTvtliF5gfqYSGz0gvRwjC6EV\r\n"
    "pBMwETEPMA0GA1UEAwwGUm9vdENBghQ1ONyO3Jc1dC1ZsuJycBjf/brXizAPBgNV\r\n"
    "HRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjA2BggrBgEFBQcBAQQqMCgwJgYI\r\n"
    "KwYBBQUHMAKGGmh0dHA6Ly9leGFtcGxlLmNvbS9jYTEuY3J0MA0GCSqGSIb3DQEB\r\n"
    "CwUAA4IBAQDYFqXy76K0+sGG6coP2Pu0RTRd6KG8tsyv9IXeRdc1fn4Ptxzy2vaK\r\n"
    "irux8yicgS8Mcrk5TEI3BB9DHqorwYvL8qukR/VAfw2EVCLOmvNDBIvcLkJ6xdXF\r\n"
    "XtqIxNj2Id8iBEsMWEon7pB/SolqefZ5NhTJ51j9722MjC2vT2PYDoDIi+R0uDRr\r\n"
    "ZjmS9W2MKpk7yih3De/Of42KBL/qBjGk13lznHX9JA7oDhxqzZxP2hBY/+Np3FGv\r\n"
    "kA9Ati19Vbq/dT3tQLfPBTkaE0D7U9Zb3sYW5Aa+ee/6QzMJmVC8sp/Rv+geM5Mg\r\n"
    "wuBUkKU2dTcupwRyGKNosn8A4aM5PB8q\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCa3Cert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDcTCCAlmgAwIBAgIUYw68mkTyDSAOMAFtpNJIzA+B8rAwDQYJKoZIhvcNAQEL\r\n"
    "BQAwDjEMMAoGA1UEAwwDQ0EyMB4XDTI1MTExNTAyMjUwN1oXDTM1MTExMzAyMjUw\r\n"
    "N1owDjEMMAoGA1UEAwwDQ0EzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\r\n"
    "AQEAuGVf4yRJHS5I1S4JBSCt7O49aoIi5q+gPGocJLv/bfqEWIG6KUzOTTCEtJ1N\r\n"
    "ZcWLe5QX3zEJu0gwika1VdHy08VNfjxJ6MkxYUf8x6j3tsT9wu0CAohs7GhloP6W\r\n"
    "qKJta89IROTNfc88BgotdlWn+/0e0bX5KUKjMxaH3p1FMCglJuwUG0tT+rvk1XSW\r\n"
    "LeGooZRCXTxzSfHGsqdPwVOeRUXF3hEKzRbRG8W7OFG3L7XBS+UDLACek645/IpV\r\n"
    "D2ZymRutB+3ffeDumyABLQTCbl0vA4iDVJYfB625XaKIzQW8ZtgDfKLL8qtPqw8F\r\n"
    "4VS7wUDhSKYzcGbHKzwZSxHzvQIDAQABo4HGMIHDMB0GA1UdDgQWBBSKV2w7viwn\r\n"
    "gKNMZlpT2puXeW/vZjBJBgNVHSMEQjBAgBSgfIpnWTYz78XWHQrACfk2GL6nqKES\r\n"
    "pBAwDjEMMAoGA1UEAwwDQ0ExghQeWAZ8nJF6LymyMhUil3CoGo48BDAPBgNVHRMB\r\n"
    "Af8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjA2BggrBgEFBQcBAQQqMCgwJgYIKwYB\r\n"
    "BQUHMAKGGmh0dHA6Ly9leGFtcGxlLmNvbS9jYTIuY3J0MA0GCSqGSIb3DQEBCwUA\r\n"
    "A4IBAQAmEUZQfE0izQS1RK01Ul1XTGru03kUnjKDeMIAxuNDuTLUAUYDxEDGkHqH\r\n"
    "Nh/GwxIIZmz4p6XPonNtYJoEy7TkWykRu5Xm5l7HG/gFIi2L89MVu2QvfEJrv7i1\r\n"
    "/j8r+jBKUTmxP/KLFYGB1FVi2DHEv1FmA8ls8zA7uqMkIE/4kI1DWIlt5iRTHrDR\r\n"
    "CtwF8Pz/c0gVZiII/D0uFYQb3pgwD2wjavEM7nt+TCnLvDsHdPBKgjwKtIGIq8Ru\r\n"
    "8AHq+xLM0q0KUP+OEZIh4sIgSg1QJ3JI5PV42m++cKPF60i8xbKfddHR2SFsf+Sd\r\n"
    "pugwzGAGE9Cq4BcuGmP0hH2yQblk\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCa4Cert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDcTCCAlmgAwIBAgIUFEBrhUn7b+GSenV8DJjsDLs5EQswDQYJKoZIhvcNAQEL\r\n"
    "BQAwDjEMMAoGA1UEAwwDQ0EzMB4XDTI1MTExNTAzMTcyN1oXDTM1MTExMzAzMTcy\r\n"
    "N1owDjEMMAoGA1UE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FIcNQgys3EUDnXWd/F7hqtLqFKy7EtWM6VtGmdgF+mAKrEZOTzfD9tnf3ZGsC2\r\n"
    "dxAkSXVMAUKieZVI8ejkmzdzCtDk\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCa5Cert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDcTCCAlmgAwIBAgIUUi0DpHolaypS0ovwWl77XYQR0UEwDQYJKoZIhvcNAQEL\r\n"
    "BQAwDjEMMAoGA1UEAwwDQ0E0MB4XDTI1MTExNTAzMTkxMFoXDTM1MTExMzAzMTkx\r\n"
    "MFowDjEMMAoGA1UEAwwDQ0E1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\r\n"
    "AQEAqNAUYFHWa6tucU4BrU60xM3ouQWxPbFyeU5Og/aovDL7rWPOv9rMgfqVsoPC\r\n"
    "e46uPBoTQAyud5vMzPXjqJ9spjW07OkFfh22H9dD7JAxiUiv1res/ta/XfNPM5Gn\r\n"
    "Kcafbu+gAKVh4V14IhN4RpRW0iNGh8/x1Wxchg2p2znmRgB6JNKsA6a1rZXRdaE2\r\n"
    "3cd8Jhn0crc36PkzH0J+AJLanUNFH8efJjTW0S9pf+6SrPq+kfxuQy1bwnIozSUK\r\n"
    "08GAMYDP4j9cNoJ2s02L0rZh1cKceZ90z+221FMMI5fqatCy8GaVgfZB2RmNFaFe\r\n"
    "z/gZVfoVcb6TUWJSCxQ7ToMNjQIDAQABo4HGMIHDMB0GA1UdDgQWBBTw7KRaEll5\r\n"
    "fHmlYym0OWMkDcVnkDBJBgNVHSMEQjBAgBT8RPAlwA8cheMVYsShNsLkLPib8aES\r\n"
    "pBAwDjEMMAoGA1UEAwwDQ0EzghQUQGuFSftv4ZJ6dXwMmOwMuzkRCzAPBgNVHRMB\r\n"
    "Af8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjA2BggrBgEFBQcBAQQqMCgwJgYIKwYB\r\n"
    "BQUHMAKGGmh0dHA6Ly9leGFtcGxlLmNvbS9jYTQuY3J0MA0GCSqGSIb3DQEBCwUA\r\n"
    "A4IBAQBr1iabV+pO6sTJ8RnPQaHPMyH0TpDG+XCckvZpvWv1wB/yy2SzHBKiwAIR\r\n"
    "xJBxV5LBfbelKXuM7+rlMXsqUJQPLzYu5zhrGmOF7PrYTQvKuXfZ3H1EwGmztq6L\r\n"
    "3/bj5jPDjM4J3ax/yxywOOweCqtNSoOlIw16bKMHZHcpCK1GXW92XaE9ZisFmSN7\r\n"
    "0oijd/jDuboYb2ssDAMJiRVoVWtGi8aW/JC3cgkVYtaOh6JUYaBTm60WFsQ/+Ap6\r\n"
    "hNiJe4rcIILwCKLhWARmi7yVm/cnxtwzuFsqqwpijb3m2eSTW08Tx089pj6D1Gvf\r\n"
    "1T5sJ5x0Sao4hUca/ul5SqERb1k/\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCa6Cert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDcTCCAlmgAwIBAgIUeYC6kNnU0RMc93yCQfRtRT72g9swDQYJKoZIhvcNAQEL\r\n"
    "BQAwDjEMMAoGA1UEAwwDQ0E1MB4XDTI1MTExNTAzMjAyMFoXDTM1MTExMzAzMjAy\r\n"
    "MFowDjEMMAoGA1UEAwwDQ0E2MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC\r\n"
    "AQEA0Bf2+sN9uVkBE3Tq1V9/zCUAPfWuuWiraXXvNl/1Vr05uzO1yLt8lSh/mplR\r\n"
    "cBDFLctDO/TbtvAD3nCQQE6DORYcbnUjeRVPknfwTY0mivCItScKe229QRm6MQzV\r\n"
    "SbCAPRNxYVU8AGCOiJdLVGvJB63jxSpwvFyl92Wjv9ilevnpwmjuBNwQ+0t/0f09\r\n"
    "GBGu1iigcG77haOmxS0UGd1BUGDXTm7LbpxR2WQPFusRRsMAQhFoBV7GP4pFHQs3\r\n"
    "xiNrkVlYw2WzQoxwH+GVGD2f/lavzWA4PC30HPJXaK5Bh1Azo7lARp95CbPhpJ7b\r\n"
    "uNRLyOX4DOX7EvsvQs12K+FdBQIDAQABo4HGMIHDMB0GA1UdDgQWBBRhp4qYFm4w\r\n"
    "RCGIseXQKL6hFxpuLTBJBgNVHSMEQjBAgBTw7KRaEll5fHmlYym0OWMkDcVnkKES\r\n"
    "pBAwDjEMMAoGA1UEAwwDQ0E0ghRSLQOkeiVrKlLSi/BaXvtdhBHRQTAPBgNVHRMB\r\n"
    "Af8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjA2BggrBgEFBQcBAQQqMCgwJgYIKwYB\r\n"
    "BQUHMAKGGmh0dHA6Ly9leGFtcGxlLmNvbS9jYTUuY3J0MA0GCSqGSIb3DQEBCwUA\r\n"
    "A4IBAQCKoCDy4wOlLbf4uhns5zS15ye8PYHoOFkcjpQuhvQkiksEp2fH2GBZma1p\r\n"
    "EEtgIH8QP9aze7OKiGAYEc+qNDxRTd6CnKHlsnQ2Yd83h9mUneIkjClTiSmWA5ms\r\n"
    "Vse40+chUATMmfrZ5hLLUwaRZwHYDLHxn7qYbq/+FANKaaHJfpHoQzfYfiO9xBfm\r\n"
    "3uh1JoWXFcPZfWNtbQuwS7jXlcpwFD0cg6TKX1P1GIVwJXqrnOuh1tmsDHDnAlQd\r\n"
    "VViNYyGdsR3djJnYLvI/tedip4Y8jC6XOmaa40+Tiu4g+/btvZXyxXr5rtSWwnsp\r\n"
    "79YYkadsaQngjrxuZZemQ6LaqdTO\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testLeafCert7Level[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDZDCCAkygAwIBAgIUJ86miUzI5vxOBnDxbw9Ozan1F44wDQYJKoZIhvcNAQEL\r\n"
    "BQAwDjEMMAoGA1UEAwwDQ0E2MB4XDTI1MTExNTAzMjkxOFoXDTM1MTExMzAzMjkx\r\n"
    "OFowDzENMAsGA1UEAwwETGVhZjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC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2PoQwpGy3xl0MEB/+qWp7yS76s\r\n"
    "5h6d8u8tT7U=\r\n"
    "-----END CERTIFICATE-----\r\n";

const char g_testCaChainValid[] =
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIGIzCCBQugAwIBAgIQD8vHwz7g05mDl1F5X17HGzANBgkqhkiG9w0BAQsFADBg\r\n"
    "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\n"
    "d3cuZGlnaWNlcnQuY29tMR8wHQYDVQQDExZSYXBpZFNTTCBUTFMgUlNBIENBIEcx\r\n"
    "MB4XDTI1MDMyNDAwMDAwMFoXDTI2MDMyMzIzNTk1OVowFzEVMBMGA1UEAwwMKi5k\r\n"
    "b3ViYW8uY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw6eEA/GD\r\n"
    "ShJ0Rtlet3Lf+uYiYzzFJ6J1iJeT/JyvTwDOTKO2VgMjsFHgUcFJBG6QGZT6PXSv\r\n"
    "vhkdzzIqqXzJwDsqqowwTwMk0YN/JUB0yr/9aFlmQakLZClu1W5og7uxp4ME+ep6\r\n"
    "aJhoQ9MMCCn3/pvDnLoX1hG9z0pgbUsnIrM+1roLpH+D0FwC4jww7+tDr89/kjb4\r\n"
    "/+LMqjAbe1fLtXJRuxH5O+kAQNqLL/0ECvq+4KpC/r/0UxTlRTpGZY2M3MPUEXfp\r\n"
    "RKMmkRoRSKwDMJ5u2DK0qanvV6mu7ORPoDsC/fTAiqonjh8rClm/zpj5GN9BQKfu\r\n"
    "UoaeWIN/XMZSzQIDAQABo4IDIDCCAxwwHwYDVR0jBBgwFoAUDNtsgkkPSmcKuBTu\r\n"
    "esRIUojrVjgwHQYDVR0OBBYEFCseEe+vZQ8BzqzkOju1EhGQwoCYMCMGA1UdEQQc\r\n"
    "MBqCDCouZG91YmFvLmNvbYIKZG91YmFvLmNvbTA+BgNVHSAENzA1MDMGBmeBDAEC\r\n"
    "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FPeAdvTp9FbRL\r\n"
    "yC0PN34rekPHwcjqsEU7mbuUaZ4EMklHqIqkniStPcKyIDCpSwBu17iezM57fwJA\r\n"
    "tb9XfzjxZH1vWEFHImcvMEwR0BLRmwXUnnRt3qOeetTV/UpIwH4HGfHldtRNqSnj\r\n"
    "xDiM1c2oRjv+4Qs5CTet70NHsaQBjkUWvioCgigE+vuCPnjwVNXJkfSHjC+DWWzf\r\n"
    "Nc+rSFEOvO8Fe4d2rvboT7vXigvTciOeQdig9ySCJQCkWxOvB1AcvZc+kw0YhrpM\r\n"
    "xUBhDd+DaUWOgmmVS3n6k3GfOqm2EU7iCp8KyfRu2DAsnlsO/YpH\r\n"
    "-----END CERTIFICATE----- \r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIEszCCA5ugAwIBAgIQCyWUIs7ZgSoVoE6ZUooO+jANBgkqhkiG9w0BAQsFADBh\r\n"
    "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\n"
    "d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\r\n"
    "MjAeFw0xNzExMDIxMjI0MzNaFw0yNzExMDIxMjI0MzNaMGAxCzAJBgNVBAYTAlVT\r\n"
    "MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\r\n"
    "b20xHzAdBgNVBAMTFlJhcGlkU1NMIFRMUyBSU0EgQ0EgRzEwggEiMA0GCSqGSIb3\r\n"
    "DQEBAQUAA4IBDwAwggEKAoIBAQC/uVklRBI1FuJdUEkFCuDL/I3aJQiaZ6aibRHj\r\n"
    "ap/ap9zy1aYNrphe7YcaNwMoPsZvXDR+hNJOo9gbgOYVTPq8gXc84I75YKOHiVA4\r\n"
    "NrJJQZ6p2sJQyqx60HkEIjzIN+1LQLfXTlpuznToOa1hyTD0yyitFyOYwURM+/CI\r\n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T61D9rqzPRS5I2uqa3tmIT\r\n"
    "44JhJgWhBnFMb7AGQkvNq9KNS9dd3GWc17H/dXa1enoxzWjE0hBdFjxPhUb0W3wi\r\n"
    "8o34/m8Fxw==\r\n"
    "-----END CERTIFICATE-----\r\n"
    "-----BEGIN CERTIFICATE-----\r\n"
    "MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh\r\n"
    "MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\r\n"
    "d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH\r\n"
    "MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT\r\n"
    "MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j\r\n"
    "b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG\r\n"
    "9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI\r\n"
    "2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxmx\r\n"
    "1x7e/dfgy5SDN67sH0NO3Xss0r0upS/kqbitOtSZpLYl6ZtrAGCSYP9PIUkY92eQ\r\n"
    "q2EGnI/yuum06ZIya7XzV+hdG82MHauVBJVJ8zUtluNJbd134/tJS7SsVQepj5Wz\r\n"
    "tCO7TG1F8PapspUwtP1MVYwnSlcUfIKdzXOS0xZKBgyMUNGPHgm+F6HmIcr9g+UQ\r\n"
    "vIOlCsRnKPZzFBQ9RnbDhxSJITRNrw9FDKZJobq7nMWxM4MphQIDAQABo0IwQDAP\r\n"
    "BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBhjAdBgNVHQ4EFgQUTiJUIBiV\r\n"
    "5uNu5g/6+rkS7QYXjzkwDQYJKoZIhvcNAQELBQADggEBAGBnKJRvDkhj6zHd6mcY\r\n"
    "1Yl9PMWLSn/pvtsrF9+wX3N3KjITOYFnQoQj8kVnNeyIv/iPsGEMNKSuIEyExtv4\r\n"
    "NeF22d+mQrvHRAiGfzZ0JFrabA0UWTW98kndth/Jsw1HKj2ZL7tcu7XUIOGZX1NG\r\n"
    "Fdtom/DzMNU+MeKNhJ7jitralj41E6Vf8PlwUHBHQRFXGU7Aj64GxJUTFy8bJZ91\r\n"
    "8rGOmaFvE7FBcf6IKshPECBV1/MUReXgRPTqh5Uykw7+U0b6LJ3/iyK5S9kJRaTe\r\n"
    "pLiaWN0bfVKfjllDiIGknibVb63dDcY3fe0Dkhvld1927jyNxF1WW6LZZm6zNTfl\r\n"
    "MrY=\r\n"
    "-----END CERTIFICATE-----\r\n";

#ifdef __cplusplus
}
#endif
#endif
